<script setup>
	import Tab from "./components/Tab.vue"
</script>

<template>
	<div class="wrapper">
		<div class="logo">
			<img src="./assets/logo.png" alt="">
		</div>
		<h1>欢迎来到WeKnow！</h1>
		<div class="box">
			<Tab></Tab>
			<router-view></router-view>
		</div>
	</div>
</template>

<style>
	* {
		margin: 0;
		padding: 0;
	}

	a {
		text-decoration: none;
	}

	ul,
	li,
	ol {
		list-style: none;
	}
</style>

<style scoped lang="scss">
	.wrapper {
		width: 100vm;
		height: 800px;
		background: url(assets/loginbg.jpg);
		background-size: 40%;
		padding: 40px 50px;

		.logo img {
			width: 230px;
		}

		h1 {
			color: #fff;
			font-size: 40px;
			text-align: center;
			font-weight: 500;
			margin-top: 10px;
			margin-bottom: 50px;
			font-family: "Hiragino Sans GB", "冬青黑体", "Microsoft Yahei", "微软雅黑";
		}

		.box {
			width: 600px;
			// height: 500px;
			// background: #fff;
			margin: 0px auto 100px;
			// padding: 1px 0px 0px;
			border-radius: 24px;
			box-sizing: border-box;
			box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.3);
			// padding-top: 20px;
		}

	}
</style>
